//---------------------------------------------------------------------------
// CSignalHandler Class
// Author : Woo-Hyun Kim
// Email : woorung@nhncorp.com
// Date : Apr. 7, 2008
//---------------------------------------------------------------------------
#ifndef CSignalHandlerH
#define CSignalHandlerH

#include <iostream>

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h> 
#include <errno.h>

using namespace std;
//---------------------------------------------------------------------------
class CSignalHandler {
public :
        CSignalHandler() {};
        ~CSignalHandler() {};

	virtual int handle(int signum, siginfo_t *si, void *sv) = 0;
};
//---------------------------------------------------------------------------
#endif
